package com.bw.service;

import com.bw.domain.Role;
import com.bw.domain.TbMenu;
import com.bw.domain.User;

import java.util.List;

/**
 * @Author: Wrj
 * @Date: 2025/3/8 08:31
 * @Description:
 **/
public interface UserService {
    User login(String username);

    List<Role> listRole(Integer userId);

    List<TbMenu> listMenus(Integer userId);

    List<User> list(User user);

    List<Role> listRoleName();

    int checkedUsername(String username);

    boolean add(User user);

    List<User> listUser();


    void addBach(List<User> userList);


    List<User> listByIds(String ids);
}
